﻿using System.Windows.Forms;
using Me.Amon.POS.M;

namespace Me.Amon.POS.V.SO
{
    public partial class UcSpu : UserControl
    {
        public UcSpu()
        {
            InitializeComponent();
        }

        public void ShowSpu()
        {
            LdGrand.Text = "";
            LdName.Text = "";
            LdMode.Text = "";
            LdSpec.Text = "";
        }

        public void ShowSpu(MSpu spu)
        {
            LdGrand.Text = spu.brand;
            LdName.Text = spu.name;
            LdMode.Text = spu.mode;
            LdSpec.Text = spu.spec;
        }
    }
}
